package com.jilin.library.entity;

import lombok.Data;
import java.time.LocalDateTime;

@Data
public class BorrowRecord {
    private Integer id;
    private Integer readerId;
    private Integer bookId;
    private LocalDateTime borrowDate;
    private LocalDateTime returnDate;
    private Integer status; // 0:借出 1:已还
    
    // 关联属性
    private Reader reader;
    private Book book;
} 